<%@ page import="com.dbb.entity.PriceLog" %>



<div class="fieldcontain ${hasErrors(bean: priceLogInstance, field: 'price', 'error')} required">
	<label for="price">
		<g:message code="priceLog.price.label" default="Price" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="price" value="${fieldValue(bean: priceLogInstance, field: 'price')}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: priceLogInstance, field: 'compId', 'error')} ">
	<label for="compId">
		<g:message code="priceLog.compId.label" default="Comp Id" />
		
	</label>
	<g:textField name="compId" value="${priceLogInstance?.compId}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: priceLogInstance, field: 'company', 'error')} required">
	<label for="company">
		<g:message code="priceLog.company.label" default="Company" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="company" name="company.id" from="${com.dbb.entity.company.Company.list()}" optionKey="id" required="" value="${priceLogInstance?.company?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: priceLogInstance, field: 'descs', 'error')} ">
	<label for="descs">
		<g:message code="priceLog.descs.label" default="Descs" />
		
	</label>
	<g:textField name="descs" value="${priceLogInstance?.descs}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: priceLogInstance, field: 'priceType', 'error')} ">
	<label for="priceType">
		<g:message code="priceLog.priceType.label" default="Price Type" />
		
	</label>
	<g:textField name="priceType" value="${priceLogInstance?.priceType}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: priceLogInstance, field: 'timestamp', 'error')} required">
	<label for="timestamp">
		<g:message code="priceLog.timestamp.label" default="Timestamp" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="timestamp" precision="day"  value="${priceLogInstance?.timestamp}"  />
</div>

